home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / amigae.sept.archive / 000049_crash!kirk.safb.af.mil!BWILLS_Tue, 21 Sep 93 04:42:47 PST.msg < prev    next >
Text File  |  1993-11-02  |  1KB  |  29 lines

  1. Received: by bkhouse.cts.com (V1.16/Amiga)
  2.     id AA00000; Tue, 21 Sep 93 04:42:47 PST
  3. Received: from kirk.safb.af.mil by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #18) id m0of5rN-00009qC; Tue, 21 Sep 93 04:26 PDT
  5. Message-Id: <m0of5rN-00009qC@crash.cts.com>
  6. Date: 21 Sep 93 06:24:00 CST
  7. From: "Barry D. Wills" <BWILLS@kirk.safb.af.mil>
  8. To: "amigae" <amigae@bkhouse.cts.com>
  9. Subject: Bug report (Don't panic, Wouter :)
  10.  
  11. The bug's mine, and I'm surprised no one's called me on it yet.  A little
  12. while back I posted a small example of how to use idcmp to get keyboard input
  13. and build a string out of it.  Well, one of the things I meant to do in the
  14. scan() function is to save the old idcmp flags of the window argument so they
  15. could be restored upon exit.  The example worked without apparent side effects
  16. since the window I used had no idcmp flags set, but in real life it will act 
  17. unexpectedly if the window is using idcmp outside of the function.  To fix the
  18. problem, just change the line in scan() that reads
  19.  
  20.   oldIdcmpFlags:=win.flags
  21.  
  22. to read
  23.  
  24.   oldIdcmpFlags:=win.idcmpflags
  25.  
  26. My apologies.
  27.  
  28. -- Barry
  29.